<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@page import="java.util.Enumeration" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Aquila Query Search</title>
</head>
<body>
<% 
   //删除之前session中存储的元素内容
   Enumeration<String> enumeration = session.getAttributeNames() ;
   while(enumeration.hasMoreElements()){
	   session.removeAttribute(enumeration.nextElement()) ;
   }
%>
<div id="container">
	<div id="top"></div>
	<div id="main">
		<form id="query_form" style="width:100%; text-align:center; margin-top:100px;" method="get" action="searchq">
			<div>
        <input id="query" type="text" size="75" value="" title="Aquila Query Search" name="query">
        </div>
        <div>
        <input type="submit" value="Search Queries">
       </div>
     </form>
	</div>
	<div id="footer"></div>
</div>
</body>
</html>